<script setup lang="ts">

const target = {name: '带你飞'};
const source = {age:18}
const result = Object.assign(target,source)
console.log(result,target===result);

</script>

<template>

</template>

<style scoped>

</style>